* {
    box-sizing: border-box
}

:root {
    --aspect-ratio: calc(1334 / 750)
}

i {
    font-family: FontAwesome !important;
    font-style: normal;
    cursor: pointer
}

body {
    background-color: #000;
    color: #f5f5f5;
    font-family: "Courier New", Courier, monospace;
    align-items: center;
    justify-content: center;
    display: flex
}

.stage {
    margin: 0 auto;
    max-width: 1334px;
    max-height: 750px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    position: fixed;
    overflow: hidden
}

.level0 {
    position: absolute;
    z-index: 1;
    height: 100%;
    width: 100%;
    display: block
}

.level1 {
    position: absolute;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: block
}

.container {
    display: block;
    position: absolute;
    background: transparent url(../images/assets/welcome_blank720b5007e4b00befe9f0.png) 50% 50% no-repeat;
    background-size: cover;
    width: 100%;
    height: 0;
    padding-top: 83%;
    top: 0;
    text-align: center
}

.story {
    display: block;
    position: absolute;
    background-color: rgba(0, 0, 0, .4);
    border-radius: 3% 3%;
    width: 66vw;
    top: 15%;
    left: 16.5%
}

.story > p {
    color: #ffe5ce;
    margin: 4%;
    font-size: 1.8vw;
    font-weight: 500;
    font-family: 'Bodoni MT','STZhongsong', serif;
    text-shadow: 2px 1.5px #000
}

.header {
    display: block;
    position: absolute;
    top: 61%;
    left: 30%;
    font-family: 'Bodoni Moda', serif;
    text-shadow: 1px 1.5px #000;
    color: #fff;
    font-weight: 500;
    font-size: 2vw
}

.playButtons {
    position: absolute;
    display: flex;
    top: 63%;
    height: 40%;
    width: 70%;
    left: 50%;
    transform: translateX(-50%);
}

a {
    text-decoration: none;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 10px
}

.violinist {
    display: block;
    width: 50%;
    height: 65%;
    padding: 5px 10px;
    border-radius: 5px;
    background: transparent url(../images/assets/violinist_hoverc2d079c529d822671751.png) 50% 50% no-repeat;
    background-size: contain;
    transition: .15s;
}

.violinist:hover {
    /*background: transparent url(../images/assets/violinistd0af39bf8bb2fd54a4cc.png) 50% 50% no-repeat !important;*/
    /*background-size: contain !important;*/
    /*width: 47%*/
    /*box-shadow: black 2px 2px 2px;*/
    filter: drop-shadow(8px 8px 6px black);
    width: 60%;
    height: 78%;
    zoom: 120%;
}

.pianist {
    display: block;
    width: 50%;
    height: 65%;
    padding: 5px 10px;
    border-radius: 5px;
    /*margin-left: 30px;*/
    background: transparent url(../images/assets/pianist_hover64c0d05cb4458de8e483.png) 50% 50% no-repeat;
    background-size: contain;
    transition: .15s;
}

.pianist:hover {
    /*background: transparent url(../images/assets/pianist24527a923a25fa952843.png) 50% 50% no-repeat !important;*/
    /*background-size: contain !important;*/
    /*width: 47%*/
    filter: drop-shadow(8px 8px 6px black);
    width: 60%;
    height: 78%;
    zoom: 120%;
}

.loader {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #000;
    z-index: 1000
}

body:not(.loaded) .loader {
    display: block
}

.rectangle {
    width: 100%;
    height: 140%;
    background-color: #000;
    z-index: 1000;
    overflow: hidden
}

.progress {
    position: absolute;
    background: #f5f5f5;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 20px;
    width: 50%;
    border: 1px solid #fff;
    overflow: hidden;
    border-radius: 4px
}

.progress-bar {
    float: left;
    background-color: #5bc0de;
    height: 100%;
    width: 10%;
    background-size: 40px 40px;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, .15), transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    transition: width .6s ease
}

.end-screen {
    display: none;
    background: #000;
    position: absolute;
    width: 100%;
    height: 0;
    padding-top: 105%;
    top: 0;
    margin: 0 auto
}

.piano-end-bg {
    background: transparent url(../images/assets/piano_endbg0d1016cf777876b91f48.png) 50% 50% no-repeat;
    background-size: cover;
    position: absolute;
    height: 0;
    padding-top: 120%;
    width: 100%;
    top: 0;
    left: 50%;
    font-size: 28px;
    transform: translateX(-50%)
}

.violin-end-bg {
    background: transparent url(../images/assets/violin_endbge393c4132d549f4ab145.png) 50% 50% no-repeat;
    background-size: cover;
    position: absolute;
    height: 0;
    padding-top: 120%;
    width: 100%;
    top: 0;
    left: 50%;
    font-size: 28px;
    transform: translateX(-50%)
}

.end-message {
    position: absolute;
    height: 0;
    width: 100%;
    top: 18.8%;
    left: 50%;
    font-size: 2.6vw;
    font-weight: 600;
    transform: translateX(-50%);
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    display: none
}

.video {
    position: absolute;
    top: 38.6%;
    height: 30%;
    width: 86%;
    left: 50%;
    transform: translateX(-50%)
}

.photo-frame {
    background: url(../images/assets/photobooth-036c4f041562060bd017a3.png) 50% 50% no-repeat;
    background-size: contain;
    position: absolute;
    display: none;
    visibility: hidden
}

.video-circle {
    position: absolute;
    border-radius: 50%;
    width: 30%;
    padding-bottom: 30%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center
}

.video-view {
    width: 150%;
    padding-top: 100%;
    position: absolute;
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg)
}

.take-photo {
    cursor: pointer;
    position: absolute;
    top: 73.5%;
    font-size: 2vw;
    color: #f5f5f5;
    padding: 1% 2%;
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
    border: 1px solid grey;
    border-radius: 10%
}

#canvas {
    position: absolute;
    display: none
}

.output {
    top: -21.3%;
    left: -12.55%;
    height: 144%;
    position: absolute
}

.countdown {
    padding-top: 60%;
    opacity: 1;
    display: none;
    font-size: 80px;
    z-index: 10000;
    animation: countdownAnimation 1s;
    animation-iteration-count: 3
}

@keyframes countdownAnimation {
    0% {
        opacity: 0
    }
    20% {
        opacity: 1
    }
    80% {
        opacity: 1
    }
    100% {
        opacity: 0
    }
}

.socials {
    position: absolute;
    height: 0;
    top: 80%;
    left: 50%;
    font-size: 2.6vw;
    transform: translateX(-50%);
    background-color: pink
}

.socials > a {
    margin: -8px
}

.rotateme {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #000 url(../images/assets/rotate-screen2e92db01a91cae1c8efd9.png) 50% 50% no-repeat;
    background-size: cover;
    background-size: 60%;
    z-index: 901
}

.hidden-desktop {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 900;
    display: none;
    background-color: #000
}

@media only screen and (max-width: 650px) {
    .hidden-desktop {
        display: block
    }
}

.escape {
    display: none;
    position: absolute;
    height: 100%;
    width: 100%
}

.escape-message {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 36px;
    text-align: justify
}

.escape-numpad-image {
    position: absolute;
    width: 60%;
    height: 110%;
    left: 52%;
    top: 75%;
    transform: translate(-50%, -50%);
    background: transparent url(../images/assets/escape-numpad0de6edf78a5205354cc2.png) 50% 50% no-repeat;
    background-size: cover
}

.escape-numpad {
    position: absolute;
    top: 35.5%;
    left: 43.6%;
    height: 24.6%;
    width: 11.5%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    cursor: pointer
}

.escape-numpad > div {
    height: 100%;
    display: flex;
    justify-content: space-evenly
}

.escape-numpad > div > div {
    width: 100%;
    border-radius: 1px
}

.escape-numpad > div > div:hover {
    background-color: rgba(255, 255, 255, .15);
    box-shadow: 0 0 3px 1px #000 inset
}

.escape-numpad > div > div:active {
    background-color: rgba(73, 147, 165, .445);
    box-shadow: 0 0 3px 1px #000 inset
}

.escape-display {
    position: absolute;
    height: 8.2%;
    width: 12.4%;
    top: 63%;
    left: 43.2%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    font-size: 3vw
}